Skip to content

F4U-1D: Add Flood Lights#1516

Merged
charliefoxtwo merged 1 commit intoDCS-Skunkworks:mainfrom
Blackhawkops:F4UFloodlights
Feb 8, 2026
Merged

F4U-1D: Add Flood Lights#1516
charliefoxtwo merged 1 commit intoDCS-Skunkworks:mainfrom
Blackhawkops:F4UFloodlights

Conversation

@Blackhawkops
Copy link
Contributor

Fixes #1195

@charliefoxtwo
Copy link
Member

isn't there a map light or something?

@Blackhawkops
Copy link
Contributor Author

From what i could find the chart board light is only controlled by the knob on the Pilots Distribution Box

@charliefoxtwo
Copy link
Member

Oh - this category is also intended to include the actual outputs of the lights themselves, which should have different draw args from the controls which manage them

@Blackhawkops
Copy link
Contributor Author

added outputs and controls for the lights themselves

Comment on lines 442 to 446
F4U_1D:defineFloat("INTERIOR_CHARTBOARD_LAMP_SWITCH", 637, { 0, 1 }, INTERIOR_LIGHTS, "Chartboard Lamp Switch")
F4U_1D:defineFloat("INTERIOR_PANEL_LAMP_SWITCH_LEFT", 638, { 0, 1 }, INTERIOR_LIGHTS, "Left Panel Lamp Switch")
F4U_1D:defineFloat("INTERIOR_PANEL_LAMP_SWITCH_RIGHT", 639, { 0, 1 }, INTERIOR_LIGHTS, "Right Panel Lamp Switch")
F4U_1D:defineFloat("INTERIOR_INTSRUMENT_BOARD_LAMP_SWTICH_LEFT", 640, { 0, 1 }, INTERIOR_LIGHTS, "Left Instrument Board Lamp Switch")
F4U_1D:defineFloat("INTERIOR_INTSRUMENT_BOARD_LAMP_SWTICH_RIGHT", 641, { 0, 1 }, INTERIOR_LIGHTS, "Right Instrument Board Lamp Switch")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are these "switches" or just "on/off indicators"? (also check the spelling of "SWTICH")

F4U_1D:definePotentiometer("INTERIOR_PANEL_LAMP_RIGHT", devices.LIGHTS, 3752, 739, { 0, 1 }, INTERIOR_LIGHTS, "Right Panel Lamp UV / Light")
F4U_1D:definePotentiometer("INTERIOR_INTSRUMENT_BOARD_LAMP_LEFT", devices.LIGHTS, 3753, 740, { 0, 1 }, INTERIOR_LIGHTS, "Left Instrument Board Lamp UV / Light")
F4U_1D:definePotentiometer("INTERIOR_INTSRUMENT_BOARD_LAMP_RIGHT", devices.LIGHTS, 3754, 741, { 0, 1 }, INTERIOR_LIGHTS, "Right Instrument Board Lamp UV / Light")
F4U_1D:defineFloat("INTERIOR_CHARTBOARD_LAMP_SWITCH", 637, { 0, 1 }, INTERIOR_LIGHTS, "Chartboard Lamp Switch")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the corresponding brightness float for this one missing?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amended as arg 637 is the brightness float and not a "on/off indicator" and doesn't appear to have a "on/off indicator"

Comment on lines 447 to 454
F4U_1D:defineFloat("INTERIOR_PANEL_LAMP_BRIGHTNESS_UV_LEFT", 838, { 0, 1 }, INTERIOR_LIGHTS, "Left Panel UV Brightness")
F4U_1D:defineFloat("INTERIOR_PANEL_LAMP_BRIGHTNESS_UV_RIGHT", 839, { 0, 1 }, INTERIOR_LIGHTS, "Right Panel UV Brightness")
F4U_1D:defineFloat("INTERIOR_INTSRUMENT_BOARD_LAMP_BRIGHTNESS_UV_LEFT", 840, { 0, 1 }, INTERIOR_LIGHTS, "Left Instrument Board UV Brightness")
F4U_1D:defineFloat("INTERIOR_INTSRUMENT_BOARD_LAMP_BRIGHTNESS_UV_RIGHT", 841, { 0, 1 }, INTERIOR_LIGHTS, "Right Instrument Board UV Brightness")
F4U_1D:defineFloat("INTERIOR_PANEL_LAMP_BRIGHTNESS_NORMAL_LEFT", 938, { 0, 1 }, INTERIOR_LIGHTS, "Left Panel Normal Brightness")
F4U_1D:defineFloat("INTERIOR_PANEL_LAMP_BRIGHTNESS_NORMAL_RIGHT", 939, { 0, 1 }, INTERIOR_LIGHTS, "Right Panel Normal Brightness")
F4U_1D:defineFloat("INTERIOR_INTSRUMENT_BOARD_LAMP_BRIGHTNESS_NORMAL_LEFT", 940, { 0, 1 }, INTERIOR_LIGHTS, "Left Instrument Board Normal Brightness")
F4U_1D:defineFloat("INTERIOR_INTSRUMENT_BOARD_LAMP_BRIGHTNESS_NORMAL_RIGHT", 941, { 0, 1 }, INTERIOR_LIGHTS, "Right Instrument Board Normal Brightness")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For all lights, the color should be included in parentheses at the end of the description (e.g. Right Panel Normal Brightness (White))

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amended "Normal" to "White" and updated description with parentheses

Comment on lines 443 to 446
F4U_1D:defineFloat("INTERIOR_PANEL_LAMP_ON_OFF_INDICATOR_LEFT", 638, { 0, 1 }, INTERIOR_LIGHTS, "Left Panel Lamp on/off indicator")
F4U_1D:defineFloat("INTERIOR_PANEL_LAMP_ON_OFF_INDICATOR_RIGHT", 639, { 0, 1 }, INTERIOR_LIGHTS, "Right Panel Lamp on/off indicator")
F4U_1D:defineFloat("INTERIOR_INTSRUMENT_BOARD_LAMP_ON_OFF_INDICATOR_LEFT", 640, { 0, 1 }, INTERIOR_LIGHTS, "Left Instrument Board Lamp on/off indicator")
F4U_1D:defineFloat("INTERIOR_INTSRUMENT_BOARD_LAMP_ON_OFF_INDICATOR_RIGHT", 641, { 0, 1 }, INTERIOR_LIGHTS, "Right Instrument Board Lamp on/off indicator")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can the on/off indicators be defined with defineIndicatorLight? The only states are on and off, right?

Also check that the descriptions are fully Title Cased

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changed to defineindicatorlight for the On/Off args

Copy link
Member

@charliefoxtwo charliefoxtwo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like INSTRUMENT is misspelled as INTSRUMENT in all controls in this PR

@charliefoxtwo charliefoxtwo added this pull request to the merge queue Feb 8, 2026
Merged via the queue into DCS-Skunkworks:main with commit 4a8aa3c Feb 8, 2026
3 checks passed
@Blackhawkops Blackhawkops deleted the F4UFloodlights branch February 8, 2026 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

F4U-1D: Flood Lights

2 participants